package com.lucifer.cloud.boot.blog.chat.support.voice;

import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author lucifer
 * @date 2025/3/21 11:51
 */
@Data
@Builder
public class ZhiPuAiVoiceUserMessage {


    private String role;

    private List<ZhiPuAiVoiceContent> content;


    @Data
    @Builder
    public static   class ZhiPuAiVoiceContent {
        private String type;
        private String text;

        private ZhiPuAiVoiceAudio input_audio;

        @Data
        @Builder
        public static class ZhiPuAiVoiceAudio {

            /**
             * <base64_string>
             */
            private String data;

            /**
             *
             */
            private String format;
        }

    }
}
